<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>订单详情</title>
</head>
<body>
<div style="width: 300px; margin-left: auto; margin-right: auto;">
<form action="order!order" method="post">
<h2 style="color: blue">填写订单</h2>
	<!-- 个人信息 -->
	收货人：<input type="text" style="margin-bottom: 5px" name="order.name"> <br/>
	收获地址：<input type="text" name="order.address">
	<hr color="green" size="1px"/>
	<!-- 商品信息 -->
	<table>
		<tr>
			<td width="150px">名称</td>
			<td width="50px">价格</td>
			<td>数量</td>
		</tr>
		<s:iterator value="goodses">
		<input type="hidden" name="goodses" value="<s:property value="id" />,<s:property value="name" />,<s:property value="price" />">
			<tr>
				<td><s:property value="name"/></td>
				<td><s:property value="price"/></td>
				<td><input type="text" size="1" value="1" name="amounts"></td>
			</tr>	
		</s:iterator>	
	</table>
	<input type="submit" value="提交订单">
</form>
</div>
</body>
</html>